package Model;

/**
 *
 * Subclass for Product
 * 
 * @author Group 1
 * @version 2011.03.30.
 */

public class Equipment extends Product{
    private String type;
    private String description;

    /**
     * Constructor
     * 
     * @param name
     * @param purchasePrice
     * @param salesPrice
     * @param rentPrice
     * @param countryOfOrigin
     * @param minStock
     * @param type Type of the equipment
     * @param description Brief description of an equipment
     */
    public Equipment(String name, Supplier supplier, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int minStock, String type, String description) {
        super(name, supplier, purchasePrice, salesPrice, rentPrice, countryOfOrigin, minStock);
        this.type = type;
        this.description = description;
    }
	public Equipment(int id) { super(id); }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    
    
}
